package com.ydc.ln.tutorial;

import java.io.IOException;
import java.util.Arrays;

/**
 * http://www.iteye.com/topic/1112358
 * @author ydc
 *
 */
public class Test07_18 {
	public static void main(String[] args) throws IOException {
		foo();
	}
	
	public static void test1() throws IOException {
		int[] x = new int[6];
		Arrays.fill(x, 1);
		for(int i=0; i<x.length; i++) {
			System.in.read();
			System.out.println(x[i]);
		}
	}
	
	public static void foo() {
		try {
			System.out.println("try");
			foo();
		} catch (Throwable e) {
			System.out.println("catch");
			foo();
		} finally {
			System.out.println("finally");
			foo();
		}
	}
	
	public static void test3() {
		int A;
		if(1!=1)
		A = 1;
		//System.out.println(A);
	}
}
